<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        #app {
            margin: 20px;
            width: 500px;
            height: 50px;
            line-height: 50px;
            overflow: hidden;
            border: 1px solid #ddd;
        }
    </style>
</head>

<body>
    <div id="app">
        <ul class="list">
            <li>1.每时每刻,给你新机会</li>
            <li>2.HTML定义了网页内容</li>
            <li>3.每天要有好心情</li>
            <li>4.爱生活爱自己</li>
        </ul>
    </div>

</body>
<script src="../js/task1.js"></script>

</html>